/**
 * JAVACC DEMO 1.0
 * @copy right iussoft company All rights reserved.
 * @Package com.iussoft.portal.thread
 */
package com.apache.portal.thread;

/**
 * description:  定时任务参数
 * @author Hou Dayu 创建时间：2016-12-29
 */
public class JobConfig {

	//时间间隔(毫秒)
	private long sleepInterval = 1000;
	private boolean isDay = false;
	private boolean isOpen = false;
	//任务
	private ISchedulerJob job;

	public long getSleepInterval() {
		return sleepInterval;
	}

	public void setSleepInterval(long sleepInterval) {
		this.sleepInterval = sleepInterval;
	}

	public boolean isDay() {
		return isDay;
	}

	public void setDay(boolean isDay) {
		this.isDay = isDay;
	}

	public ISchedulerJob getJob() {
		return job;
	}

	public void setJob(ISchedulerJob job) {
		this.job = job;
	}

	public boolean isOpen() {
		return isOpen;
	}

	public void setOpen(boolean isOpen) {
		this.isOpen = isOpen;
	}
}
